package com.smartao.base.entityitem;

import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repository;

import com.smartao.core.dao.BaseEntityDao;

@Repository
public class EntityitemDaoImpl extends BaseEntityDao<Entityitem,Long> implements EntityitemDao {

	@Override
	public Entityitem findByEntityKey(String entityKey) {
		return findUnique(Restrictions.eq("entityKey", entityKey));
	}

}
